import { axios } from '@/utils/request'

/**
 * 钱包明细
 * @param {*} data
 * @returns
 */
export function cardBalanceList (data = {}) {
  return axios({ url: '/admin/card/balance/page', method: 'post', data })
}
/**
 * 确认提现
 * @param {*} data 
 * @returns 
 */
export function cardBalanceWithdraw (data = {}) {
  return axios({ url: '/admin/card/balance/withdraw', method: 'post', data })
}
/**
 * 实名账户列表
 * @param {*} data 
 * @returns 
 */
export function acctPage (data = {}) {
  return axios({ url: '/admin/acct/page', method: 'post', data })
}
/**
 * 注册会员
 * @param {*} data 
 * @returns 
 */
export function memberList (data = {}) {
  return axios({ url: '/admin/member/page', method: 'post', data })
}
/**
 * 提现规则详情
 * @param {*} data 
 * @returns 
 */
export function withdrawRuleDetail (data = {}) {
  return axios({ url: '/withdrawRule/detail', method: 'get', data })
}
/**
 * 提现规则
 * @param {*} data 
 * @returns 
 */
export function withdrawRule (data = {}) {
  return axios({ url: '/withdrawRule', method: 'post', data })
}
/**
 * 车牌解绑
 * @param {*} data 
 * @returns 
 */
export function vehicleUnbind (data = {}) {
  return axios({ url: '/admin/vehicle/unbind', method: 'post', data })
}
/**
 * 会员查询是否实名
 * @param {*} data 
 * @returns 
 */
export function queryMemberIdentity (data = {}) {
  return axios({ url: '/admin/member/acct/identity', method: 'get', params:data })
}
/**
 * 会员查询是否实名
 * @param {*} data 
 * @returns 
 */
export function memberVerification (data = {}) {
  return axios({ url: '/admin/acct/real_name/verification', method: 'post', data })
}
/**
 * 绑定车牌
 * @param {*} data 
 * @returns 
 */
export function memberVehicleBind (data = {}) {
  return axios({ url: '/admin/vehicle/binding', method: 'post', data })
}